#!/usr/bin/env python
from com.zoundry.controllers import Controller1
from com.zoundry.controllers import Controller2
from com.zoundry.controllers import HtmlController
from google.appengine.ext import webapp
import wsgiref.handlers

DEBUG = True

# The list of all controllers - Tuple(PATH, CONTROLLER_CLASS)
CONTROLLERS = [
        ("/cOne", Controller1),
        ("/cTwo", Controller2),
        (r"/*.html", HtmlController)
]


def main():
    application = webapp.WSGIApplication(CONTROLLERS, debug=DEBUG)
    wsgiref.handlers.CGIHandler().run(application)


if __name__ == "__main__":
    main()
